package com.tuyrt.firstcode.variable_function

/**
 * Created by tuyrt7 on 2021/4/6.
 *  变量+函数
 */
fun main() {

    //变量：val不可变， var可变
    val a = 0
    val str = ""

    var b = 1
    b = 2
}

//函数: fun (): 返回类型
fun doWork(content: String): Unit {
    //do sth..
}